#include "Card.h"

Card::Card(int _card_id, int _type, int _price, int _times, string _owner, string _date)
{
    card_id = _card_id;
    type = _type;
    price = _price;
    times = _times;
    owner = _owner;
    date = _date;
}
int Card::getCardId() {
    return card_id;
}
int Card::getType() {
    return type;
}
int Card::getPrice() {
    return price;
}
string Card::getDate() {
    return date;
}

string Card::getOwner() {
    return owner;
}

void Card::setCardId(int _card_id) {
    card_id = _card_id;
}
void Card::setType(int _type) {
    type = _type;
}
void Card::setPrice(int _price) {
    price = _price;
}
void Card::setDate(string _date) {
    date = _date;
}
void Card::setOwner(string _owner) {
    owner = _owner;
}
Card::~Card()
{
    //dtor
}
